//电影模块接口封装

import myaxios from "../MyAxios"
import BASEURL from "../BaseUrl"
const BMDURL = BASEURL.BMDURL

const movieApi = {

    /**
     * 查询所有电影,接收参数params:{page:1,pagesize:10}
     */
    queryAll(params){
        let url = BMDURL + "/movie-infos"
        return myaxios.get(url,params)

    }

}
export default movieApi